package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName
@ApiModel("spu_detail")
@Accessors(chain = true)
public class SpuDetail {
    /**
     * 商品id
     */
    @TableId(value = "spu_id", type = IdType.INPUT)
    @ApiModelProperty(value = "商品id")
    private Integer spuId;
    /**
     * 商品详情
     */
    @ApiModelProperty(value = "商品详情")
    private String detail;
}
